<template>
  <!-- 导航 -->
  <van-nav-bar title="订单" />
    <!-- 订单 -->
  <van-card 
    num="2"
    price="2.00"
    desc="描述信息"
    title="商品标题"
    thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg"
  />
  <!-- 动作栏 -->
   <van-action-bar>
  <van-action-bar-button type="danger" text="查看订单" @click="onClickButton" />
</van-action-bar>
</template>

<script setup>
import {ref} from 'vue'
// 跳转
import { useRouter } from 'vue-router'
let router = new useRouter();
const onClickButton =()=>{
    router.push('/orderxq')
}
</script>

<style lang="scss" scoped>
</style>